// 负责全局自定义组件的注册
import PageTools from '@/components/PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Lang from './lang'
import TagsView from './TagsView'
export default {
  // install (vue)   vue实例
  install (Vue) {
    // 'PageTools'是名字
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)// 注册导入上传图片
    Vue.component('ScreenFull', ScreenFull) // 注册全屏组件
    Vue.component('ThemePicker', ThemePicker) // 注册主题组件
    Vue.component('Lang', Lang) // 注册切换语言组件
    Vue.component('TagsView', TagsView)
    Vue.use(Print)// 注册打印组件
  }
}
